package com.easyadmin.pro.modules.sys.service.impl;

import com.easyadmin.pro.modules.sys.query.ActionQueryVo;
import com.easyadmin.pro.modules.sys.rest.ActionResultInfoVo;
import com.mybatisflex.spring.service.impl.ServiceImpl;
import com.easyadmin.pro.modules.sys.entity.ActionEntity;
import com.easyadmin.pro.modules.sys.mapper.ActionMapper;
import com.easyadmin.pro.modules.sys.service.IActionService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *  服务层实现。
 *
 * @author xulin
 * @since 2024-04-07
 */
@Service
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class ActionServiceImpl extends ServiceImpl<ActionMapper, ActionEntity> implements IActionService {

    @Override
    public List<ActionResultInfoVo> queryActionInfo(ActionQueryVo actionQueryVo) {
        return mapper.queryActionInfo(actionQueryVo);
    }
}
